package cases

import (
  v1 "livefind/api/v1"
  //"livefind/middleware"
  "github.com/gin-gonic/gin"
)

type CaseRouter struct {
}

func (s *CaseRouter) InitCasesRouter(Router *gin.RouterGroup) {
  caseRouter := Router.Group("cases")
  var caseApi = v1.ApiGroupApp.CaseApiGroup.CaseApi
  {
    caseRouter.POST("case", caseApi.CreateCase) // 新建案件
    caseRouter.GET("case",caseApi.GetCase)  // 获取单个案件信息
    caseRouter.GET("list", caseApi.ListCases)     // 获取案件列表

  }
}
